/**
 * @project_name struts2_all_action_url_config
 * @package_name com.gxwz.struts2.action
 * @file_name UserAction.java
 */
package com.gxwz.struts2.action;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
import com.opensymphony.xwork2.Preparable;

/**
 * 全部用通配符配置，直接把URL写在本类里
 * 
 * @author chendequan
 * @email 1527254027@qq.com
 * @datetime 2013-9-16 上午12:16:07
 * 
 */
@SuppressWarnings({ "serial", "rawtypes" })
public class UserAction extends ActionSupport implements Preparable,ModelDriven {
	//forward paths
	protected static final String SHOW_JSP = "/show.jsp";
	protected static final String LIST_JSP= "/pages/sms/SmsNet/list.jsp";
	
	/** 查看对象*/
	public String show() {
		return SHOW_JSP;
	}

	/* (non-Javadoc)
	 * @see com.opensymphony.xwork2.ModelDriven#getModel()
	 */
	public Object getModel() {
		return null;
	}

	/* (non-Javadoc)
	 * @see com.opensymphony.xwork2.Preparable#prepare()
	 */
	public void prepare() throws Exception {
	}
	 
}
